﻿using Application.AppService;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore.Metadata.Internal;
using System.Diagnostics;
using UI7_2.Models;

namespace UI7_2.Controllers
{
    public class MenuController : Controller
    {
        public IActionResult Index()
        {
            return View();
        }
        [HttpPost("GetMenu/{LuJing}")]
        public IActionResult GetMenu(string LuJing)
        {
            string viewName = LuJing;
            ViewBag.ViewName = viewName;
            return View();
        }
    }
}
